package com.example;

import com.config.MySelfRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.netflix.ribbon.RibbonClients;
import org.springframework.cloud.openfeign.EnableFeignClients;
//import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
//@EnableEurekaClient
//@EnableDiscoveryClient
//@RibbonClients(value = {@RibbonClient(name = "gec-service-provider",configuration = MySelfRule.class )})
@EnableFeignClients
public class GecServiceConsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(GecServiceConsumerApplication.class, args);
    }
}
